﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CJJCH.Web.Controls
{
    public partial class NoteTop : System.Web.UI.UserControl
    {
        
        private int secondId;
        public int SecondId
        {
            get { return secondId; }
            set { secondId = value; }
        }
        private string secondName;
        public string SecondName
        {
            get { return secondName; }
            set { secondName = value; }
        }
        private string secondName1;
        public string SecondName1
        {
            get { return secondName1; }
            set { secondName1 = value; }
        }
        private int _iIndex;
        public int IIndex
        {
            get { return _iIndex; }
            set { _iIndex = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {

            if (SecondId != 0 && SecondName != "" && SecondName != null)
            {
                lnkNewsName.Text = SecondName;
            }
            switch (IIndex)
            {
                case 1:
                    this.Li1.Style.Add("class", "selectTag");
                    return;
                default:
                    break;
            }
        }
   
    }
}